package com.shangxia.dog.commom.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;

import java.util.List;

/**
 * @author zhouya24
 * @date 2021/11/18 15:26
 * @apiNote
 */

@Slf4j
@Data
@AllArgsConstructor
public class PageResult<T> {

    private T T;
    private Integer pageSize;
    private Integer pageNum;
    private Integer total;
    private List<T> data;

    public PageResult() {
        pageSize = 10;
        pageNum = 0;
        total = 0;
    }
}
